package org.hales;

import com.github.xiaoymin.swaggerbootstrapui.annotations.EnableSwaggerBootstrapUI;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动类
 *
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
//开启Swagger增强UI
@EnableSwaggerBootstrapUI
@EnableScheduling
public class Hales {

    public static void main(String[] args) {
        SpringApplication.run(Hales.class, args);
    }
}